Fixed the address of d_a[i]