add missing exit