fix: should find value with either array index or hash key.