fix badly realized variable names... addreses PR#5