     (modi/blend-linum))
   (with-eval-after-load 'smart-mode-line
     (sml/apply-theme 'dark))
-  (with-eval-after-load 'fill-column-indicator
+  (with-eval-after-load 'setup-fci
     (setq fci-rule-color "#383838")
-    (fci-mode -1)))
+    (modi/fci-redraw-frame-all-buffers)))
 
 ;;leuven theme
 (defun leuven ()

    (modi/blend-linum))
  (with-eval-after-load 'smart-mode-line
    (sml/apply-theme 'dark))
  (with-eval-after-load 'fill-column-indicator
    (setq fci-rule-color "#383838")
    (fci-mode -1)))

;; smyx
(defun smyx ()

    (modi/blend-linum))
  (with-eval-after-load 'smart-mode-line
    (sml/apply-theme 'light))
  (with-eval-after-load 'setup-fci
    (setq fci-rule-color "gray")
    (modi/fci-redraw-frame-all-buffers)))

;;stock theme
(defun stock-theme ()
  "Activate stock theme."
  (interactive)
  (setq dark-theme nil)
  (disable-theme 'zenburn)
  (disable-theme 'smyx)
  (disable-theme 'leuven)
  (with-eval-after-load 'faces
    (modi/blend-fringe))
  (with-eval-after-load 'linum
    (modi/blend-linum))
  (with-eval-after-load 'smart-mode-line
    (sml/apply-theme 'respectful))
  (with-eval-after-load 'setup-fci
    (setq fci-rule-color "gray")
    (modi/fci-redraw-frame-all-buffers)))

(defun toggle-theme ()
  "Toggles theme between the default light and default dark themes."
