bug fix for repeating the page 1 load