Removing extension of Page