fix cd  in 10.8