corrected a few minor errors