change_format update

fixed undeclared variables