Fix invalidate