handle keywords where strings are expected