Fix automation errors.