output message problem