fixing partial function deleted when removing netrc