correct stdout and stderr instruction