fix bug - timer was not being cancelled