fixing post request