Fixed ISR issue on startup