fix broken ref