fix error with looking up lottery users