Fix max batches and records in web ui