fix diary_post bug