Fix a bug with d_