updated to allow for titles from othe pages to load