fixed riemann solver