fix bug for stockout page