Fixing "Array to string conversion" errors.