fixing freeze bugs on 0 blocks