format isinterrupt and isinterrupted