removed extra end and work on page name error