Fixed usage of Corser and its middleware pattern