fix post bug