bugfix for when svg reports are remotely accessed