fixed hist

fixed histogram by day