fixed an error with welcomePanel