.replace argument given dynamic default