Fixed #280
diff --git a/R/add_header_above.R b/R/add_header_above.R
index 70e0783..1ff5f1e 100644
--- a/R/add_header_above.R
+++ b/R/add_header_above.R
@@ -267,9 +267,7 @@
   font_size <- ez_rep(font_size, n)
   angle <- ez_rep(angle, n)
   if (!booktabs) {
-    align <- paste0("|", align, "|")
-    align[1] <- paste0(align[1], "|")
-    align[nrow(header_df)] <- paste0("|", align[nrow(header_df)])
+    align[1:(nrow(header_df) - 1)] <- paste0(align, "|")
   }
   header <- header_df$header
   colspan <- header_df$colspan