fix cscope connection bugs