cleanup after pull