fix product stock check to use real method