removing duplicate directory