updated uvcat.c