some fix for config