added spaces exception to parsing