fix bag crop detection