switch inner html to message