try adding serial port initialisation