remove unused dir from rm command