bug correction with logo3 variable