bidi otm with join table