add check if attribute already seted