corrected a few errors