fix to pass animated argument