replaces . with source