fix bug when respec is referenced using https