fix post bugs