remove unused invalidate