improve new line item check
revert to originall polyfill