Add clear before exit