Fixed small/class event mixup