diff --git a/R/plot.Qm3s.R b/R/plot.Qm3s.R
index 6c03dfa374984eb837fdbd6d6f158451ae318d34..59569a768536369927a2f3b00a75c5c0aa32112a 100644
--- a/R/plot.Qm3s.R
+++ b/R/plot.Qm3s.R
@@ -42,7 +42,7 @@ plot.Qm3s <- function(x,
             inherits(x[, 1], "POSIXct"))
 
   col <- tryCatch(
-    length(col),
+    col,
     error = function(e) "#619CFF"
   )