Repair typographical errors and inconsistencies