make rep code not case sensitive (put all to upcase)