fix schema errors.