changed first character get to not occur once per loop