bug fix for udc driver