fix post_edit bug