[issue #0000]: add cd function & fixed a bug about path changing.
[author]: lori lee
[note]: