did some bad search and replacing