fix no implicit conversion of nil into String