corrected currentInterrupt implementation
(according to what its supposed to do)