Fixed bad relations format