fixes in stock entry