fix some bug on homepage