diff --git a/src/variables.jl b/src/variables.jl
index 5d2381d647a9671a6d4764bd4f13fbde772432b8..102c2eee6cc8e7038c2aa6043e13ca22daad9d57 100644
--- a/src/variables.jl
+++ b/src/variables.jl
@@ -186,10 +186,12 @@ function _defvar(func_def, getter=nothing)
 end
 
 @defvar function duration end
-@doc """    duration(block)
+"""
+    duration(block)
 
 Duration of the sequence or building block in ms.
-""" duration
+""" 
+duration
 
 
 function def_alternate_variable!(name::Symbol, other_var::Symbol, to_other::Function, from_other::Function, inverse::Bool)