fixed unique_keys