Corrected the bug in raspberryPi serial command