fixed #2161: fixed crash of loading ETC file