tidy the code, & fix a bug: block further rotation