fixed get post query bug