fixed message formatting