removing unnecessary dir