Fixed a small bug that prevented printing