add final exit to return to user mode