fix write method