Fix bug on timer manager