Fixed printing issue with explainVariable and findVariable