fix bug on interrupt handling