fixes to invite stuff