bugfix in densities over time