fix bug for stock out page