removed int check from Blog::editPost method