fix editing for posts