fix some errors.