interrupt handler cleanup
debug print cleanups