fixes missing variable name that we only caught on staging