remove named references