fixed funky interrupt bug