Fixed type error in allowedTriggers