Saving unsaved pointer and correct interruption handling