added support for crops, fix #1539