Modified some minor errors