undid a nasty find and replace malfunction