use if statement to remove implode warning from pages without an address field