Add prompt when something wrong, before exit