Finished the validation of the width variable

validation of width variable is official.