corrected CustomeMiddleware example
Merge pull request #31 from wearp/master

Corrected CustomMiddleware example