cd behavior fixed