Fix an error when using multiple middlewares.
release 0.0.3