fix bug when make ... login with avr based platform