XmasEngine ref fix