fixed relation creation