made a couple changes to two utli.c functions