fix timer T1 handling (issue #5330)