deleting unneeded directories