fixed a bug in blog_post_admin