fixed for Dart SDK 0.6.5