fixed error in awk script