fix one bug in the measurement model