fixed some issues with the blog controller