fixed flickering caused by arduino pass through timing