Fix issue with initialization of output message