Fixed errors receiving list instead of string.