automatic logo assign