fix welcome page logic defect