remove unimplemented middleware