fix cd issue