remove useless global var