remove duplicate extra settings
fix NPE if no groups