fixed an edge case with credits going out of synch
tag autocomplete box testing