minor bug fix in the 3.l program