fixing timer granularity