Fixing username handling error.