[maintanence] Removing the code for source replacement and fixing a typo