fix broken middleware. wasn't calling next().
closes #37.