upc bug fix