small change in Blogpost.php file