BUG: capture.output fails ... so intermediate fix