changed interrupt num of halt from 5 to 7