fixing a static ref