fixing bug for blog_main,php