fix join table embedding