bug fix: array vs string