fixed awk error