fix crop issues
Merge pull request #78 from sbillard/master

fix crop issues