fix bug where output type wasn't being renamed anymore