fix error in formatting user message