avoid panic when no msg.Ttailing