exit when not in run window