avoid duplicate thread in the root