same here-- the key should be a copy not a reference.