fixed parser extra space bug