Added page error handling.