adds a null check for wizard.current to avoid runtimes from gibbed wizard