diff --git a/src/variables.jl b/src/variables.jl
index c49e179e4cf40890e1425659ef4e6f4e2f2eaa45..402da5ec63845852e2a13d3e8ce12d5d4be7e5a9 100644
--- a/src/variables.jl
+++ b/src/variables.jl
@@ -57,7 +57,7 @@ function qval_square(bb; kwargs...)
     vec = qvec(bb; kwargs...)
     return vec[1]^2 + vec[2]^2 + vec[3]^2
 end
-qval(bb; kwargs...) = sqrt(qval_square(qvec))
+qval(bb; kwargs...) = sqrt(qval_square(bb))