fix join bug 4