fixed config gen