poi(), poiDetails() and poiHtml() cleanup