fixing dates display