bug fix on engine interrupted

bug fix on engine interrupted