Fixed a stock bug