batch rectification