Fix array to string conversion error
We don't need static cache here