added some check to goto_blog helper