fix #247 feature with $ goes wrong