fixing call being broken on old versions of v8