fix keyword check now that we take a vector