Improve awk filter