fix bug in post