Fixed crashing problems with bad upc codes