Remove duplicate ref