fixed bug for home page