error when not on the page