fixes dates