Two fixes on permissions and system menu