fix bug where relationships have more than one argument