Fixes userinfo undefined error