fix http post bug