fix error of homepage