need while loop to catch when current ctx=tail.head is null and we still
need to search this.global
was not updating tail correctly