fix error when page is not found