Fung errr tranaction object change to Gloubale and flush using finalize