non-interactive mode corrected