Exit on clear