Fixes haystack search

Just remove this build_page method. I don't know why it exists. It's very different from the default build_page and  I didn't find a reason for existence. (After I removed it, everything works on my projects)