Added a helper function to handle nil page title
Checking in all that I have been working