             c = record.category || 0
 
             # populate depends:
-            if record.id of Depends
+            if Depends[record.id]
               # skip duplicates:
               continue if i of Depends[record.id]
             else

            data[t] = v ? ''
            return if info.asset[t] == data[t]
            saveRun info.cell, info.asset.save(data).then () ->
              info.v = Data[info.c][info.metric.id][info.n][info.i] = v
              generateText(info)
              return
          else
            return if info.record.measures[info.metric.id] == v
            saveRun info.cell, info.record.measureSet(info.metric.id, v).then (rec) ->
              rcm = Data[rec.category || 0][info.metric.id]
              for i, n of Depends[info.d]
                arr(rcm, n)[i] = v
                # TODO age may have changed... not clear how to update.
              info.v = v
              l = TBody.getElementsByClassName('ss-' + info.d + '_' + info.metric.id)
              for li in l
                info.cell = li
                generateText(info)
              return

        ################################# Interaction

              v = ''
            when 'id'
              if v?
                cell.className = 'icon ' + if Editing && Key.id != info.c then 'trash' else 'bullet'
                v = ''
            when 'age'
              v = display.formatAge(v)
