fix broken ref in search