toStringified msg to prevent TypeError