bug in stock match