fix a bug in upload userinfo