fix relation