BugFix on security configuration