Fixed printing formatting bug