works around https://issues.scala-lang.org/browse/SI-8048
Merge pull request #28 from xeno-by/master

work around for https://issues.scala-lang.org/browse/SI-8048