moved common utilities to oscommon