fixed some typos in dgaskins code