fixed bug with timer activation