fixed function after userinfo update