Fixed crop feature code error

Ref #13 .