fixed a bug in leaveKIrrevOut