some minor errors fixed