fix "need name" on certain join cases