fixing binary relationship