fixed support for newest revision of Dart