guard against null value.toString()