[AutoTimer] fix crash