fix string replace for hypenating titles