modify error of posts