fixed a bug on the utime() method