add exit warning