improve generated D style