fix settings api