Clear local name if leaving before matched