fix nstimer crashes