fix join order no effect by different types