correcting paths for pubring and secring.