set correct application id in message header