fix dart release compatibility