handle unsupported message types gracefully