relationship references wrong table

fixes #68