fix rorate bug
Merge pull request #46 from suckli/master

fix rorate bug