fix save cert, key path to settings