diff --git a/R/read_in_vtu.R b/R/read_in_vtu.R
index c34d3ba33ef1efa17ab26d5327c6f6014b910f14..a21b03ddf28a0c55c09046ea54d29f599b79916b 100644
--- a/R/read_in_vtu.R
+++ b/R/read_in_vtu.R
@@ -1,5 +1,6 @@
-#Functions to read in data from a .vtu file to an OGS6 object
-#WIP, so far only creates the reference for the project file, might add analysis functions later!
+# Functions to read in data from a .vtu file to an OGS6 object
+# WIP, so far only creates the reference for the project file, might add
+# analysis functions later!
 
 
 #'pick_vtu_file
@@ -13,7 +14,7 @@ pick_vtu_file <- function(ogs6_obj) {
     file <- file.choose()
     check_file_extension(file, "vtu")
 
-    ogs6_obj$add_mesh(basename(file))
+    ogs6_obj$add_mesh(r2ogs6_mesh(basename(file)))
     file.copy(file, ogs6_obj$sim_path)
 }