fixed #2161: fixed crash of loading ETC file
Merge pull request #2828 from minggo/develop

fixed #2161: fixed crash of loading ETC file