remove reference to deleted class