fixed blogpost not showing up on index page after creation