removing extra dirs