fixed  issue in showing wizrd on page load.