add isset checks to svg_debug references incase svg_debug isn't specified in the config file