The company is tightening up and driving toward profitability quicker, but was tripped up by mismatched inventory in the second quarter.