prepared deletion function for old names