fix bug for stock in page