bugfix add crop option, thanks to @hoppithek, see #1