fix sloppy replace-all