Fix bug in 2Ddsdphi