you need to make sure wizard.current isn't null, or it will runtime when the wizard is gibbed, add a null check for it here