fix setting wd

seems like cd will not work with comment in IPython
sm