fixed bug on unique_names_postfix