fixed bug for post