fixed bugs with the 404 page and posts on frontpage