improve auto timer performance