delete useless code
c & doc