fixes pretty printer for 2 vars