small formatting fixes to relatione xtraction implementation