fix for config generation