switch to protected mode