correctl ctrl+c when directory exists