restapi quick fix