attempt to fix write issue