Fix "cannot convert … to string"