fix diary/index