fix settings controller