correct error in densite