stock manage fix