Fix no implicit conversion of nil into String error