fixed parsing bug for >10 outputs