Fixed bugs of building initial block