various util moved to oscommon