Fix POST not working properly