switchable secure mode v1.1