fixed chash while creating a stock with no parameters