On the Wess-Zumino-Witten models on Riemann surfaces