fix for join testcase