fix some errands.