trim config, remove pagination