fix a small bug in post page