prepare for dart 1.0