Fixed 'Array to string conversion' issue.