bug fixed for abort_imm