diff --git a/include/ajax.sequence.php b/include/ajax.sequence.php
index 299e8c3223d7a1d8262cc40c8919ac44fbde534f..ed292c51cc5e3fba7fd80d7f089d60fd27b82210 100644
--- a/include/ajax.sequence.php
+++ b/include/ajax.sequence.php
@@ -67,7 +67,7 @@ class SequenceAjaxAPI extends AjaxController {
             foreach ($_POST['seq'] as $id=>$info) {
                 if (strpos($id, 'new-') === 0) {
                     unset($info['id']);
-                    $sequences[] = Sequence::create($info);
+                    $sequences[] = new Sequence($info);
                 }
                 else {
                     foreach ($sequences as $s) {
diff --git a/include/staff/dynamic-form.inc.php b/include/staff/dynamic-form.inc.php
index f1bba83968aa5b116f28084aef6ba9ca0d9fb02c..775e058792ccb28790e1b21b55ba479734879105 100644
--- a/include/staff/dynamic-form.inc.php
+++ b/include/staff/dynamic-form.inc.php
@@ -114,14 +114,16 @@ if ($form && count($langs) > 1) { ?>
     </tbody>
     </table>
     <table class="form_table" width="940" border="0" cellspacing="0" cellpadding="2">
-    <?php if ($form && $form->get('type') == 'T') { ?>
+    <?php if ($form && $form->get('type') == 'T') {
+    $uform = UserForm::objects()->one();
+    ?>
     <thead>
         <tr>
             <th colspan="7">
                 <em><strong><?php echo __('User Information Fields'); ?></strong>
                 <?php echo sprintf(__('(These fields are requested for new tickets
                 via the %s form)'),
-                UserForm::objects()->one()->get('title')); ?></em>
+                $uform->get('title')); ?></em>
             </th>
         </tr>
         <tr>
@@ -135,9 +137,8 @@ if ($form && count($langs) > 1) { ?>
     </thead>
     <tbody>
     <?php
-        $uform = UserForm::objects()->all();
         $ftypes = FormField::allTypes();
-        foreach ($uform[0]->getFields() as $f) {
+        foreach ($uform->getFields() as $f) {
             if (!$f->isVisibleToUsers()) continue;
         ?>
         <tr>