removed uneeded communication with devices if mode is set already correctly