fix username illegal keys