modify exit