remove hook for non-existent crop_photo function