some minor errors