Clean up processing on writing tag