fixing team user tables