fixed issue with home page and show for posts