auto switch motel permission.