fix double measures from thermodo