Revert "bug fix of the block rotation."

This reverts commit d810087577b5362356d68b256f6457ff58cd3c65.