Fix in awk command and gnu graph optimization