modified OSUtils