more error handling
remove unwanted Page1