fix cd directory issue when to toggle cscope