remove useless line and update doc and comments