fix object's rotation
Merge pull request #249 from irvs/issue247

fix object's rotation