fixed wrong blank spaces in replace sentence in output parsing method