unnecessary directories requrired removal and done accordingly