fix a couple of errors in output change