fix play animation method