fix some bug when edit blog