Fixed setTimeout measure unit