remove some other useless code