actually fix data overwrite