remove unused new-message code