method for api post fix