Added flush after write