Refs missing fix