workaround for DARTBUG 11891

https://code.google.com/p/dart/issues/detail?id=11891