fixed join column order bug