added potential solutions to crashing on write bug