can't get the page to not refresh but works