resolve #247