Awk instead of cut, to fix error