fix join case