checking width prompt

width prompt stores variable correctly