fix relation block