bug in stock routing