Fix relation parser problem