diff --git a/src/crop/aquacrop.jl b/src/crop/aquacrop.jl
index 374827cb1ec12dd08697e939d8de1d1aedeabb35..0e1765522896b79925a748b36f9c49496f1e89d5 100644
--- a/src/crop/aquacrop.jl
+++ b/src/crop/aquacrop.jl
@@ -14,10 +14,10 @@ cropname(ct::AquaCropType) = ct.name
 
 mutable struct AquaCropState
     croptype::AquaCropType
-    height::Length{Float64}  # TODO: remove height field, supply from cropstate
+    height::Tlength  # TODO: remove height field, supply from cropstate
     cropstate::AquaCrop.AquaCropField
 
-    function AquaCropState(croptype::AquaCropType, height::Length{Float64}=0.0cm)
+    function AquaCropState(croptype::AquaCropType, height::Tlength=0.0cm)
         runtype = AquaCrop.TomlFileRun()
         parentdir = AquaCrop.test_toml_dir  # TODO: hardcoded croptype
         ac_cropfield, all_ok = AquaCrop.start_cropfield(; parentdir, runtype)