Clean codes in utils/blog.py