proposed page_by_name bug fix

Hi Brandon,

I think I've done it. Here's the pull request with my fix for the page_by_name bug. We can talk about it in class Thursday night.

~ Jerry