fixed can switch on or off to animation