fix percent-per-item calculator not responding to the products method