give root hash precedence over tag