fixed issue with multiple users on threads