Write corrupts yalnix; fixing