fix bug: read animation number by different version.