fix typo in measurement conditional