fix relations search