pre find and replace