remove extra directory