Fix settings api