fixes wrong dates