Fix some errors.