trying to get the page work with exceptions