fixed bug in blog edit