fixed variable name in def unique_common