fix small bug in post module