boolean printing fix