correct minor errors