bug fixed, using now MS_TO_TIMER