changes to accommodate pdksh 5.2.14