make sure null strings don't attempt to log