Fix wrong generate unique name