Small fix for write fails in init.