fixed crash on md2 files