add awk to remove extra lines