Fixed debug errors and first page looks at first install