bugfix of join with multiple key.