fixed crop flipping