diff --git a/xhprof.admin.inc b/xhprof.admin.inc
index 64bcbb1..561dc01 100755
--- a/xhprof.admin.inc
+++ b/xhprof.admin.inc
@@ -17,11 +17,6 @@ function xhprof_admin_settings() {
     '#description' => $description,
     '#disabled' => !extension_loaded('xhprof'),
   );
-  $form['xhprof_disable_admin_paths'] = array(
-    '#type' => 'checkbox',
-    '#title' => t('Disable profiling of admin pages'),
-    '#default_value' => variable_get('xhprof_disable_admin_paths', TRUE),
-  );
   $form['settings'] = array(
     '#type' => 'container',
     '#states' => array(
@@ -29,7 +24,12 @@ function xhprof_admin_settings() {
         'input[name="xhprof_enabled"]' => array('checked' => FALSE),
       ),
     ),
-  );  
+  );
+  $form['settings']['xhprof_disable_admin_paths'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Disable profiling of admin pages'),
+    '#default_value' => variable_get('xhprof_disable_admin_paths', TRUE),
+  );
   $form['settings']['xhprof_interval'] = array(
     '#type' => 'textfield',
     '#title' => 'Profiling interval',
