minor bug fixes in wizard.