fix reload and when scrolled bug