fix for invite