corrected whitespace issue in search_replace