Timer ticks fixed