fix write link