code update

cut useless code