fixed username casesensitive issue