plotProfile() for density: fixe days old error