Fix serial connection bug!!!