fixed bug in other awk scripts