add try for getting page