fixing client-side partial lookups.  adding debug local