fix #1851: null check getCurrentBlog()

fix #1851: null check getCurrentBlog()