fix an issue with dart chrome apps