Format the message with the correct variable