protect timer variables more