changed handling of security interrupts