fixing stock check output