fix softwareserial buffer handling in case of byte dropped