various inprod fixes