fix post requests