fix some bugs for blog