fix post api