Fixed printing bug.