diff --git a/src/sphere/sphere.cpp b/src/sphere/sphere.cpp
index 897643be76b9eff88a70d19444f9091a2e8e55c4..b21d7ea8f6426f96143137aa124dd138183e728b 100644
--- a/src/sphere/sphere.cpp
+++ b/src/sphere/sphere.cpp
@@ -204,7 +204,7 @@ void sphere(string config_file, string data_file, string output_path) {
     double exri = sqrt(sconf->exdc);
     fprintf(output, "  REFR. INDEX OF EXTERNAL MEDIUM=%15.7lE\n", exri);
     fstream tppoan;
-    string tppoan_name = output_path + "/c_TPPOAN_sph";
+    string tppoan_name = output_path + "/c_TPPOAN";
     tppoan.open(tppoan_name.c_str(), ios::binary|ios::out);
     if (tppoan.is_open()) {
       int imode = 10;
@@ -286,7 +286,7 @@ void sphere(string config_file, string data_file, string output_path) {
 	  // This is the condition that writes the transition matrix to output.
 	  int is = 1111;
 	  fstream ttms;
-	  string ttms_name = output_path + "/c_TTMS_sph";
+	  string ttms_name = output_path + "/c_TTMS";
 	  ttms.open(ttms_name.c_str(), ios::binary | ios::out);
 	  if (ttms.is_open()) {
 	    ttms.write(reinterpret_cast<char *>(&is), sizeof(int));