fix retrieving relationships from built-in models. closes #107