bugfixes for multiple timers