bugfix: one to one relationship calculations