added satic cleanup on animation dock