fixes because of AIX wc -l command output