fix for Serial comm