Repair type error.