diff --git a/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl b/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
index 76ae3af1c9728174175f09b219ece9f8a5145952..5eb2ce5b2dc96b423edaa9d72d4ec86120c8ed68 100644
--- a/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
+++ b/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
@@ -44,8 +44,12 @@ namespace corsika {
     using namespace units::si;
 
     // write the next row - we must write `shower_` first.
-    (*writer_) << shower_ << static_cast<int>(get_PDG(pid)) << energy / 1_eV << x / 1_m
-               << y / 1_m << parquet::EndRow;
+    (*writer_) << shower_
+               << static_cast<int>(get_PDG(pid))
+               << static_cast<float>(energy / 1_eV)
+               << static_cast<float>(x / 1_m)
+               << static_cast<float>(y / 1_m)
+               << parquet::EndRow;
   }
 
 } // namespace corsika
diff --git a/corsika/detail/output/OutputManager.inl b/corsika/detail/output/OutputManager.inl
index ead11a08f95408e7a1adc157d8318252720f62a4..20ed3798a0bf2d8dd67135a2e6a214699c279ee2 100644
--- a/corsika/detail/output/OutputManager.inl
+++ b/corsika/detail/output/OutputManager.inl
@@ -30,7 +30,7 @@ namespace corsika {
     out << node;
 
     // open the output file - this is <output name>.yaml
-    std::ofstream file(path.string());
+    std::ofstream file(path);
 
     // dump the YAML to the file
     file << out.c_str() << std::endl;