fixed middleware naming for #34