diff --git a/Common/Options.cpp b/Common/Options.cpp
index f86cf3b5e9b6ebbc0611517a19c30923e5584701..6ad7353d4cd6809097968028ed4f61455408acef 100644
--- a/Common/Options.cpp
+++ b/Common/Options.cpp
@@ -3208,7 +3208,7 @@ double opt_general_background_gradient(OPT_ARGS_NUM)
 {
   if(action & GMSH_SET){
     CTX::instance()->bgGradient = (int)val;
-    if(CTX::instance()->bgGradient < 0 || CTX::instance()->bgGradient > 4)
+    if(CTX::instance()->bgGradient < 0 || CTX::instance()->bgGradient > 3)
       CTX::instance()->bgGradient = 0;
   }
 #if defined(HAVE_FLTK)
diff --git a/Fltk/optionWindow.cpp b/Fltk/optionWindow.cpp
index 1e56d42fd4dddc1e73819b589bd23a0313496225..a4deb5da85cb5365a50a13a8bd4c74e9dc48a526 100644
--- a/Fltk/optionWindow.cpp
+++ b/Fltk/optionWindow.cpp
@@ -352,7 +352,6 @@ static void general_options_ok_cb(Fl_Widget *w, void *data)
   opt_general_axes(0, GMSH_SET, o->general.choice[4]->value());
   opt_general_background_gradient(0, GMSH_SET, o->general.choice[5]->value());
 
-
   if( (opt_general_gamepad(0, GMSH_GET, 0) !=  o->general.butt[19]->value() )
       || ( opt_general_camera_mode(0, GMSH_GET, 0) !=  o->general.butt[18]->value() )){
     if((opt_general_gamepad(0, GMSH_GET, 0) == 1 )
@@ -1794,7 +1793,6 @@ optionWindow::optionWindow(int deltaFontSize)
         {"Vertical", 0, 0, 0},
         {"Horizontal", 0, 0, 0},
         {"Radial", 0, 0, 0},
-        {"Image", 0, 0, 0},
         {0}
       };