1. Fix color indicate incorrect issue.
2. Remove rotate function.