move error warning

require measurement 8 instead of measurement 5