Fixed privilege escalation issue