make list of keys only once