message typos fixed in batch mode