change type into enum
modify animcpu