fixed bug in the post