set timer to 0 when init timer