fix interrupt macro condition