modified data-replace