have tryed to fix schedular, but stil doing wirde things when timer_tick overflows