fix post and put