Changed middleware