timer cleanup for 32u4
adding couple of protection statements