update print vars to print vars only found on right hand side as well