many fixes to uctcd