added exit call when either resolution or extension is missed