fixed a broken ref