unique function invalidate