erase obselete middleware