set homepage properly