pathivar form and result width fixes