fix bug crop