Fixed minor errors,