reimplemented line item width/length validation