fixing https://github.com/dreamtools/dreamtools/issues/6