https://github.com/teem2/dreem/issues/10