modify bug about parent index is -1