removing extra directoriers