Bug on timer fixed

Bug on timer fixed