Added better error message to crop