fix delete() with string type prim key.