remove useless code
update doc