Fixed serial client bug