Fix some hidden errors.