fixed serial.php