fixed bug in insert in Blog class