Fix undefined index on $name