write correct undofile