fixing some bugs in the blog plugin