fix variable names for invite links