adds the fix from #191.