fix join binding order