       if hatTrick.metadata?.currentStep?.repeatOf?
         this.repeatStep(hatTrick.metadata.currentStep)
       else if hatTrick.metadata?.currentStep?
-        this.showStep(hatTrick.metadata.currentStep)
+        this.showStep(hatTrick.metadata.currentStep.fieldset)
 
 $ ->
   $form = $("form.wizard")

        fieldsetContents = $partial.find('fieldset').html()
        $step = $("fieldset##{stepId}")
        $step.html fieldsetContents
        this.setDefaultButtons($step)
        this.updateSteps()

  bindEvents: ->

    this.updateSteps()
    @form.formwizard("show", step.name)

  showStep: (stepId) ->
    inputId = "_ht_link_to_#{stepId}"
    this.setHiddenInput "_ht_step_link", stepId, inputId, @linkClass, this.currentStep()

  formwizardEnabled: ->
    @form.formwizard?
