http post bug fix