fixed minor errors.