Remove debug middleware