density fix