move StockError option from method to property fix #7