fixed refreshing homepage box issue