modify the queryInterface and delete some unused files