fix level config as string