fix density model