fix qstat pretty print