fixed bug. now its inserting block 0 as well.