diff --git a/Manifest.toml b/Manifest.toml
index 82430b4c69c6fb6c2c185d6247844f2889a56f94..3fca9e2898fa0e9d39b146f4580da4456151347d 100644
--- a/Manifest.toml
+++ b/Manifest.toml
@@ -859,9 +859,11 @@ version = "0.1.1"
 
 [[deps.PlanarLarvae]]
 deps = ["DelimitedFiles", "JSON3", "MAT", "Meshes", "OrderedCollections", "StaticArrays", "StructTypes"]
-path = "../PlanarLarvae"
+git-tree-sha1 = "f45e4befaca93ceeab1830cce9239394ac01c45d"
+repo-rev = "main"
+repo-url = "https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
 uuid = "c2615984-ef14-4d40-b148-916c85b43307"
-version = "0.3.0"
+version = "0.4.0"
 
 [[deps.PlotUtils]]
 deps = ["ColorSchemes", "Colors", "Dates", "Printf", "Random", "Reexport", "Statistics"]
diff --git a/Project.toml b/Project.toml
index 4cc98dbf7e40e4257b299744a61f58fd192e8305..59a41ed3280242b36d233f9eda0dc56364519de5 100644
--- a/Project.toml
+++ b/Project.toml
@@ -1,7 +1,7 @@
 name = "LarvaTagger"
 uuid = "8b3b36f1-dfed-446e-8561-ea19fe966a4d"
 authors = ["François Laurent", "Institut Pasteur"]
-version = "0.2.0"
+version = "0.3.0"
 
 [deps]
 Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
diff --git a/src/controllers.jl b/src/controllers.jl
index a12bf90072e9ca8db57f28b6481d665bf58732fd..e405db2839c5ee048a67bc4f1492a27bac56bce3 100644
--- a/src/controllers.jl
+++ b/src/controllers.jl
@@ -22,7 +22,7 @@ gethub(hub::ControllerHub) = hub
 
 # events - definitions
 
-const NoLarva = convert(LarvaID, 0)
+const NoLarva = typemax(LarvaID)
 
 struct LarvaEvents
     hovered::Observable{LarvaID}