setAnimation fix