fixed an error in the blog model