dart_clean fn improved