Fix normalization of output-input prompt