fix issue #4: segault on nil string values