Fix a bug with multiple wizards in one page