fixed stocks method issue with collection lookup of nil object