defend against null, undefined and other non-string stuff thrown at us