fixed json traversal not being reset