Doh, search and replace all! not just the first one.