Fix `undefined` class trigger