edit error message of measurement