fix call for fork api end point