fix some bug in post