Fix a few weird errors.