fix dumps (may be run client-side or server-side)