invalidate model before destroy