fixed the example for the Ring middleware example