Fix bugs for post