fix bug
  add addUrl utils func
  set initIndent to 1
  fix select by index error