fix broken interrupt bug