added additional fix how configuration gets generated