fix system env gocode reset