fixed problems with some teams occuring when users had null profiles