fixed undefined value for setting change during print