fixes the sed string, $ signs in the old word need to be escaped