fix closes #38