Added lookup var if event is null to unhook events.