fix for measure rest layout