remove extraneous directory