allow string where array of strings is expected