fix measure data null error bug.