Fix the settings parsing