fixed username utf-8 length problem