bugfix: when processing multi-times writing