add date in case is missing