fixed bugs in Blocky