fixed post request error