Changed replaceAll to replace