Timer bug when no registered fixed