getting rid of sub directory