Fix 'Array to string conversion' notice