fixing button bug on homepage