Added function call to result page.
Fixed problem of naming page when no title is available.