fix OsSupport error