reworking remove directory