fix bug on home page