fix write info