correct some minor errors