fix for setmode idle