fix OsImage