fix timer.c