fix date in index