Fix problem with process output