replaced interrupt flags