go to reference isnt working on page load