corrects date