fix binary relationship