remove reference to deleted model