fix rotate error
Merge pull request #15 from rinkevics/master

pull