serial port bug fixed. seems to work again now