In a written contract there is inconsistency. The substantial completion date is printed as 12/31/98. A hand written date of 10/31/98 has been inserted. How should this be interpreted?

In a written contract there is inconsistency. The substantial completion date is printed as 12/31/98. A hand written date of 10/31/98 has been inserted. How should this be interpreted?