setup first repeating character problem