delete unuse middleware