fixed addition of a new stock, only adds if it actually exists