replace fields