deal with string keys