removing duplicate dir