add pagination config, fix indent and Field