fixed timer destruction bug