Bugfixes to StockReader module