fixed http post requests