formatted printing fix