Question about scale

Hi everybody

I have scale bar from 0 to 50 on the drawing (see the picture 1 below). But it should be from 0 to 20 (se picture 2 ). Does anyone have any ideas how this can be fixed?