Fix initialization error on trigger.